﻿using System;
using System.Data;
using FluentPS.WebSvcProject;

namespace FluentPS.WebServiceProxy
{
    public interface IProjectProxy
    {
        string Url { get; set; }
        bool UseDefaultCredentials { get; set; }
        DataSet ReadProjectEntities(Guid projectUid, int ProjectEntityType, DataStoreEnum dataStore);
        void QueueUpdateProject(Guid jobUid, Guid sessionUid, DataSet dataset, bool validateOnly);
        void QueueCheckInProject(Guid jobUid, Guid projectUid, bool force, Guid sessionUid, string sessionDescription);
        ProjectRelationsDataSet QueuePublish(Guid jobUid, Guid projectUid, bool fullPublish, string WssURL);
        void CheckOutProject(Guid projectUid, Guid sessionUid, string sessionDescription);
    }
}
